package com.customer.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 员工拥有以及锁定客户数限制
 * </p>
 *
 * @author rick
 * @since 2022-12-13 11:23:15
 */
@Getter
@Setter
@TableName("wk_crm_customer_setting")
@ApiModel(value = "CrmCustomerSetting对象", description = "员工拥有以及锁定客户数限制")
public class CrmCustomerSetting implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键ID")
    @TableId(value = "setting_id", type = IdType.AUTO)
    private Integer settingId;

    @ApiModelProperty("规则名称")
    @TableField("setting_name")
    private String settingName;

    @ApiModelProperty("可拥有客户数量")
    @TableField("customer_num")
    private Integer customerNum;

    @ApiModelProperty("成交客户是否占用数量 0 不占用 1 占用")
    @TableField("customer_deal")
    private Integer customerDeal;

    @ApiModelProperty("类型 1 拥有客户数限制 2 锁定客户数限制")
    @TableField("type")
    private Integer type;

    @TableField("create_time")
    private LocalDateTime createTime;


}
